home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dirut / rm_om.zip / FORMATCH.H < prev    next >
C/C++ Source or Header  |  1988-10-09  |  752b  |  33 lines

  1.     /*
  2.     **    formatch() data types header file
  3.     */
  4. typedef struct    {
  5.     char reserved[21];
  6.     unsigned char attribute;
  7.     unsigned long filetime;
  8.     unsigned long filesize;
  9.     char shortname[14];
  10.     char filename[65];
  11. } FILE_MATCH;
  12.  
  13.     /*
  14.     **    These masks correspond to FILE_MATCH.attribute bits and
  15.     **    subroutine call option bits
  16.     */
  17. #define    READONLY        0x0001
  18. #define    HIDDEN            0x0002
  19. #define    SYSTEM            0x0004
  20. #define    VOLABEL            0x0008
  21. #define    DIRECTORY        0x0010
  22. #define    ARCHIVE            0x0020
  23. #define    ALLREALONES        0x003F
  24. #define    DOTHIDDEN        0x0040
  25. #define    MATCHNONWILD    0x0080
  26. #define    RECURSIVE        0x0100
  27. #define    DIRFIRST        0x0200
  28.  
  29. int formatch(char *path, int type, int (*routine)());
  30. void initmatch(void);
  31.  
  32. extern char optsepar[2],dirsepar,othersepar;
  33.